package com.neusoft.neuiotms.dcam.fixed.service;

import java.util.List;

import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.fixed.dto.AhAssetCardDTO;

public interface AhAssetCardService {

    List<AhAssetCardDTO> search(Searchable searchable);

    Page<AhAssetCardDTO> search(Pageable pageable, Searchable searchable);

    AhAssetCardDTO create(AhAssetCardDTO dto);

    AhAssetCardDTO update(Long id, AhAssetCardDTO dto);

    AhAssetCardDTO details(Long id);

    void delete(Long id);

    Workbook export(Searchable searchable);

    void associate(long id, List<Long> assets);

}
